package com.robot.console.client.common;

import java.util.HashMap;

public class SingleClientActionsContainer
{
	private final HashMap<String, ISingleClientAction> container = new HashMap<String, ISingleClientAction>();

	public void addAction(ISingleClientAction action)
	{
		this.container.put(action.getName().toLowerCase(), action);
	}

	public ISingleClientAction getAction(String actionName)
	{
		return this.container.get(actionName);
	}

	public ISingleClientAction removeAction(String actionName)
	{
		return this.container.remove(actionName);
	}
}
